const MAPOBJ = 'mapObj'; // 定位相关信息

const setStorebyKEY = (KEY, data) => {
  try {
    uni.setStorageSync(KEY, data);
  } catch (e) {
    console.log(e);
  }
};
const getStorebyKEY = (KEY) => {
  var value = '';
  try {
    value = uni.getStorageSync(KEY);
  } catch (e) {
    console.log(e);
  }
  return value;
};
export {
  setStorebyKEY,
  getStorebyKEY,
  MAPOBJ
};
